package com.fulihui.information.common;

import org.near.toolkit.model.BaseEnum;

/**
 * 排序方式
 * Created by LeeSon on 2016/12/28 0028.
 */
public enum ESortType implements BaseEnum {
    DESC("DESC", "降序"), ASC("ASC", "升序");

    String code;
    String desc;

    ESortType(String code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    @Override
    public String getCode() {
        return code;
    }

    @Override
    public String getDesc() {
        return desc;
    }
}